/*
 * Project: yygh-parent
 *
 * File Created at 2023/7/8
 *
 * 自定义时间格式代替DATE标签：2023-07-08 18:23:18:23
 */
package com.atguigu.yygh;

import com.atguigu.yygh.order.mapper.DictMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author 用户名
 * @Type ServiceCmnApplication.java
 * @Desc
 * @date 2023/7/8 18:23
 */

@SpringBootApplication
@EnableDiscoveryClient
public class ServiceCmnApplication implements CommandLineRunner {
    public static void main(String[] args) {
        SpringApplication.run(ServiceCmnApplication.class, args);
    }
    @Autowired
    DictMapper dictMapper;
    @Override
    public void run(String... args) throws Exception {
//        List<Dict> dicts = dictMapper.selectList(null);
//        System.out.println(dicts);
    }
}
/**
 * Revision history
 * -------------------------------------------------------------------------
 * <p>
 * Date Author Note
 * -------------------------------------------------------------------------
 * 2023/7/8 用户名 create
 */ 
